Micron Document
🌎 rns.kin.earth git 🌍

Node / dev / reticulum / commits / f4d1398

Commit f4d13986af2985ebc42c1b0f18ea563b77f8d29d


Parents : 6125c83
Author : Mark Qvist <mark@unsigned.io>
Date : 2025-04-09T23:47:49+02:00

Disable AP mode on BackboneInterface

Changes

1 files changed, 3 insertions(+), 0 deletions(-)


Diff

diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py
index aff38d02..b2589060 100755
--- a/RNS/Reticulum.py
+++ b/RNS/Reticulum.py
@@ -687,6 +687,9 @@ class Reticulum:
if "port" in c: c["target_port"] = c["port"]
if "remote" in c: c["target_host"] = c["remote"]
if "listen_on" in c: c["listen_ip"] = c["listen_on"]
+ if interface_mode == Interface.Interface.MODE_ACCESS_POINT:
+ RNS.log(str(c["type"])+" does not support Access Point mode, reverting to default mode: Full", RNS.LOG_WARNING)
+ interface_mode = Interface.Interface.MODE_FULL
if c["type"] == "BackboneInterface":
if "target_host" in c: interface = BackboneInterface.BackboneClientInterface(RNS.Transport, interface_config)

Served by rngit 1.5.2 - Generated in 0.08s